package com.peas.platform.module.icims.expenditure.setting.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;

public enum ExpenditureSettingsType implements BaseEnum {

    kpiControl("10", "指标单初始化控制", CommonElType.primary),
    quotaControl("11", "额度下达控制", CommonElType.primary),
    applicationControl("12", "事前预算控制", CommonElType.primary),
    approveInitQuota("13", "启用初始化额度下达单审批", CommonElType.info),
    approveInitReimbursement("14", "启用初始化报账单审批", CommonElType.info),
    approveKpi("15", "启用指标单审批", CommonElType.success),
    approveQuota("16", "启用额度下达单审批", CommonElType.success),
    approveAdjustment("17", "启用调整单审批", CommonElType.success),
    approveApplication("18", "启用事前领用申请单审批", CommonElType.success),
    approveReimbursement("19", "启用报账单审批", CommonElType.success),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;

    ExpenditureSettingsType(String key, String value, CommonElType elTagType) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
